const url = import.meta.env.VITE_LOGIN_URL;
import axios from "axios";

/** 通过code获取统一权限token */
export const getTokenByCode = (params: any) => {
	return axios.get(`${url}/oauth2/getTokenByCode`, {
		params: params
	});
};
